// @import 'weatherNav';
.content-box {
    display: flex;
    flex-direction: column;
    color: #fff;
    .select-city{
        display: flex;
        align-items: center;
        .select-box{
            width: 100px;
            margin: 10px 30px 12px 12px;
            .sel-box{
                border:1px solid rgba(153,153,153,1);
                border-radius: 4px !important;
            }
            .sel-title-box{
                background:rgba(255,255,255,0.2);
                // border:1px solid rgba(153,153,153,1);
                border-radius:4px;
            }
        }
        a{      
            display: inline-block;             
            width: 80px;
            height: 28px;
            line-height: 28px;
            text-align: center;
            border-radius: 4px;
            background-color: rgb(64, 127, 255);  
            color: #fff;
            outline: 0;
            border: 0
          }
          
    }
}
.weather-content{
    display: flex;
    flex: 1;
    width: 100%;
    // .title-box{
    //     width: 100%;
    //     height: 26px;
    // }
    >div{
        flex: 1;
        display: flex;
        flex-direction: column;
        >div{
            flex: 1;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
            padding: 0 10px;
        }
    }
    .today-box{
        display: flex;
        width: 100%;
        flex: 1;
        margin-bottom: 10px;
        .today-specific{
            flex: 10;
            display: flex;
            flex-direction: column;
            padding: 20px;
            border-right: 1px solid #fff;
           .real-time{
               display: flex;
               align-items: center;
               i{
                   width: 40%;
                   img{
                       width: 100%;
                   }
               }
               div{
                   font-size: 16px ;
                   color: #fff;
                   h3{
                       margin-top: 20px;
                       font-size: 30px;
                       color: #f29961;
                   }
               }
           } 
           .real-list{
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                font-size: 12px;
                padding: 20px 0 0;
                div{
                   display: flex;
                   p{
                       flex: 1;
                       display: flex;
                       span{
                           flex: 1;
                           &#airQuality{
                               color: #f29961;
                           }
                       }
                   }
               }
           }
        }
        >ul{
            flex: 7;
            display: flex;
            flex-direction: column ;
            justify-content: center;
            padding: 20px;
            li {
                border-radius: 10px;
                background-color: rgba(64, 127, 255, 0.2);
                padding: 10px;
                margin: 20px auto;
                >div{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    i{
                        width: 20%;
                        img{
                            width: 100%;
                        }
                    }
                    p{
                        display: flex;
                        flex-direction: column;
                        font-size: 14px;
                        color: #fff;
                        span{
                            margin: 8px 0;
                        }
                        b{
                            font-weight: normal;
                        }
                    }
                }
              }
              
        }
    }
    .weather-left-box{
        margin-right: 5px;
        >div.left-up{
            // background: none;
            flex: 1;
        }
        .left-down{
            flex: 1;
            .allDay-box{
                display: flex;
                flex-direction: column;
                flex: 1;
                // padding: 20px 0 40px;
            }
            .weather-list{
                display: flex;
                li{
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    text-align: center;
                    span:first-child{
                        background-color: rgba(255, 255, 255, .2);
                        line-height: 22px;
                        border: 1px solid rgba(153,153,153,.2);
                    }
                    .weather-span{
                        margin: 20px auto;
                    }
                    i{
                        img{
                            width: 80%;
                            margin: 0 auto;
                        }
                    }
                }
            }
            #tmpLine{
                width: 100%;
                flex: 1;
            }
        }
    }
    .weather-right-box{
        margin-left: 5px;
        .weather-weeks-box{
            padding: 0;
            .title-box{
                margin-left: 10px;
            }
            >ul{
                display: flex;
                width: 100%;
                height: 30px;
                line-height: 30px;
            }
            .date-list{
                color: #fff;
                font-size: 14px;
                text-align: center;
                border: 1px solid #333;
                li{
                    flex: 1;
                    background-color: rgba(255, 255, 255, .1);
                    cursor: pointer;
                }
                .active{
                    background-color: rgba(64, 127, 255, 0.2);
                    color: #14c6ca;
                }
            }
            .weeks-list{
                flex: 1;
                border-bottom: 1px solid #333;
                border-right: 1px solid #333;
            }
            .data-list{
                height: 100%;
                >li{
                    width: 100%;
                    text-align: center;
                    height: 100%;
                    &.active{
                        ul{
                            li{
                                display: none;
                                &:nth-child(n+8){
                                    display: flex;
                                }
                            }
                        }
                    }                 
                    ul{
                        display: flex;
                        width: 100%;
                        height: 100%;
                        li{
                            flex: 1;
                            display: flex;
                            flex-direction: column;
                            justify-content: space-around;
                            border-left:  1px solid #333;
                           
                            &:nth-child(n+8){
                                display: none;
                            }
                            i{
                                width: 100%;
                                img{
                                    width: 50%;
                                    margin: 0 auto;
                                }
                            }                        
                        }
                    }
                }
            }
        }
        .right-down{
            display: flex;
            flex-direction: column;
            .title-box{
                display: flex;
                justify-content: space-between;
                align-items: center;
                ul{
                    display: flex;
                    li{
                        padding: 0 2px;
                        margin: 0 5px;
                        line-height: 26px;
                        cursor: pointer;
                        &.active{
                            color: #14c6ca;
                            border-bottom: 1px solid #14c6ca;
                        }
                    }
                }
            }
            .echarts-list{
                flex: 1;
                position: relative;
                li{
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    // display: none;
                    // flex-direction: column;
                    // &.active{
                    //     display: flex;
                    // }
                    // .echarts{
                    //     flex: 1;
                    // }
                }
            }
        }
    }
}

